package com.t.bricks.bussiness.db.entity.currentprice.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.t.bricks.annotation.DataInfo;

/**
 * 当前售价'CurrentPrice'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 */
@ApiModel("当前售价CurrentPrice")
public class CurrentPriceBase implements Serializable {

	private static final long serialVersionUID = -1L;// 使用rmi时需修改

	/**
	 * 编号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="sId", sComment="编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=true, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=0 )
	@ApiModelProperty(value="编号", example="")
	//[end]
	protected String sId;

	/**
	 * 物品编号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="sGoodsId", sComment="物品编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=1 )
	@ApiModelProperty(value="物品编号", example="")
	//[end]
	protected String sGoodsId;

	/**
	 * 物品全称
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="sGoodsName", sComment="物品全称", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=64, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=2 )
	@ApiModelProperty(value="物品全称", example="")
	//[end]
	protected String sGoodsName;

	/**
	 * 规格
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="iSpecification", sComment="规格", isDbField=true, sDbFileType="int",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=3 )
	@ApiModelProperty(value="规格", example="")
	//[end]
	protected Integer iSpecification;

	/**
	 * 价格(元)
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="mPrice", sComment="价格(元)", isDbField=true, sDbFileType="decimal",
		sDefaultData="0", isExtra=false, iskey=false, isNull=true,
		iMaxLength=9, isDecimal=true, iIntegralLength=6, iDecimalLength=2, iIndex=4 )
	@ApiModelProperty(value="价格(元)", example="0")
	//[end]
	protected BigDecimal mPrice;

	/**
	 * 最低价格(元)
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="mMinPrice", sComment="最低价格(元)", isDbField=true, sDbFileType="decimal",
		sDefaultData="0", isExtra=false, iskey=false, isNull=true,
		iMaxLength=9, isDecimal=true, iIntegralLength=6, iDecimalLength=2, iIndex=5 )
	@ApiModelProperty(value="最低价格(元)", example="0")
	//[end]
	protected BigDecimal mMinPrice;

	/**
	 * 最高价格(元)
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="mMaxPrice", sComment="最高价格(元)", isDbField=true, sDbFileType="decimal",
		sDefaultData="99999999", isExtra=false, iskey=false, isNull=true,
		iMaxLength=9, isDecimal=true, iIntegralLength=6, iDecimalLength=2, iIndex=6 )
	@ApiModelProperty(value="最高价格(元)", example="99999999")
	//[end]
	protected BigDecimal mMaxPrice;

	/**
	 * 折扣
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="iDiscount", sComment="折扣", isDbField=true, sDbFileType="int",
		sDefaultData="100", isExtra=false, iskey=false, isNull=false,
		iMaxLength=3, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=7 )
	@ApiModelProperty(value="折扣", example="100")
	//[end]
	protected Integer iDiscount;

	/**
	 * 最低折扣
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="iMinDiscount", sComment="最低折扣", isDbField=true, sDbFileType="int",
		sDefaultData="100", isExtra=false, iskey=false, isNull=false,
		iMaxLength=3, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=8 )
	@ApiModelProperty(value="最低折扣", example="100")
	//[end]
	protected Integer iMinDiscount;

	/**
	 * 最高折扣
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="iMaxDiscount", sComment="最高折扣", isDbField=true, sDbFileType="int",
		sDefaultData="0", isExtra=false, iskey=false, isNull=false,
		iMaxLength=3, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=9 )
	@ApiModelProperty(value="最高折扣", example="0")
	//[end]
	protected Integer iMaxDiscount;

	/**
	 * 备注
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="sMemo", sComment="备注", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=200, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=10 )
	@ApiModelProperty(value="备注", example="")
	//[end]
	protected String sMemo;

	/**
	 * 创建人
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="sCreator", sComment="创建人", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000001", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=11 )
	@ApiModelProperty(value="创建人", example="00000001")
	//[end]
	protected String sCreator;

	/**
	 * 创建日期
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="dCreateDate", sComment="创建日期", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=12 )
	@ApiModelProperty(value="创建日期", example="")
	//[end]
	protected Date dCreateDate;

	/**
	 * 修改人
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="sModifieder", sComment="修改人", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000001", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=13 )
	@ApiModelProperty(value="修改人", example="00000001")
	//[end]
	protected String sModifieder;

	/**
	 * 修改日期
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="dModifiedDate", sComment="修改日期", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=14 )
	@ApiModelProperty(value="修改日期", example="")
	//[end]
	protected Date dModifiedDate;

	/**
	 * 状态
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="iState", sComment="状态", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=15 )
	@ApiModelProperty(value="状态", example="1")
	//[end]
	protected Integer iState;

	/**
	 * 序号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="iIndex", sComment="序号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=16 )
	@ApiModelProperty(value="序号", example="1")
	//[end]
	protected Integer iIndex;

	/**
	 * 版本
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="CurrentPrice", sName="iVersion", sComment="版本", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=17 )
	@ApiModelProperty(value="版本", example="1")
	//[end]
	protected Integer iVersion;

	/**
	 * 取 编号
	 * @return String
	 */
	public String getsId() {
		return sId;
	}

	/**
	 * 设置编号
	 * @param sId
	 */
	public void setsId(String sId) {
		this.sId = sId;
	}

	/**
	 * 取 物品编号
	 * @return String
	 */
	public String getsGoodsId() {
		return sGoodsId;
	}

	/**
	 * 设置物品编号
	 * @param sGoodsId
	 */
	public void setsGoodsId(String sGoodsId) {
		this.sGoodsId = sGoodsId;
	}

	/**
	 * 取 物品全称
	 * @return String
	 */
	public String getsGoodsName() {
		return sGoodsName;
	}

	/**
	 * 设置物品全称
	 * @param sGoodsName
	 */
	public void setsGoodsName(String sGoodsName) {
		this.sGoodsName = sGoodsName;
	}

	/**
	 * 取 规格
	 * @return Integer
	 */
	public Integer getiSpecification() {
		return iSpecification;
	}

	/**
	 * 设置规格
	 * @param iSpecification
	 */
	public void setiSpecification(Integer iSpecification) {
		this.iSpecification = iSpecification;
	}

	/**
	 * 取 价格(元)
	 * @return Integer
	 */
	public BigDecimal getmPrice() {
		return mPrice;
	}

	/**
	 * 设置价格(元)
	 * @param mPrice
	 */
	public void setmPrice(BigDecimal mPrice) {
		this.mPrice = mPrice;
	}

	/**
	 * 取 最低价格(元)
	 * @return Integer
	 */
	public BigDecimal getmMinPrice() {
		return mMinPrice;
	}

	/**
	 * 设置最低价格(元)
	 * @param mMinPrice
	 */
	public void setmMinPrice(BigDecimal mMinPrice) {
		this.mMinPrice = mMinPrice;
	}

	/**
	 * 取 最高价格(元)
	 * @return Integer
	 */
	public BigDecimal getmMaxPrice() {
		return mMaxPrice;
	}

	/**
	 * 设置最高价格(元)
	 * @param mMaxPrice
	 */
	public void setmMaxPrice(BigDecimal mMaxPrice) {
		this.mMaxPrice = mMaxPrice;
	}

	/**
	 * 取 折扣
	 * @return Integer
	 */
	public Integer getiDiscount() {
		return iDiscount;
	}

	/**
	 * 设置折扣
	 * @param iDiscount
	 */
	public void setiDiscount(Integer iDiscount) {
		this.iDiscount = iDiscount;
	}

	/**
	 * 取 最低折扣
	 * @return Integer
	 */
	public Integer getiMinDiscount() {
		return iMinDiscount;
	}

	/**
	 * 设置最低折扣
	 * @param iMinDiscount
	 */
	public void setiMinDiscount(Integer iMinDiscount) {
		this.iMinDiscount = iMinDiscount;
	}

	/**
	 * 取 最高折扣
	 * @return Integer
	 */
	public Integer getiMaxDiscount() {
		return iMaxDiscount;
	}

	/**
	 * 设置最高折扣
	 * @param iMaxDiscount
	 */
	public void setiMaxDiscount(Integer iMaxDiscount) {
		this.iMaxDiscount = iMaxDiscount;
	}

	/**
	 * 取 备注
	 * @return String
	 */
	public String getsMemo() {
		return sMemo;
	}

	/**
	 * 设置备注
	 * @param sMemo
	 */
	public void setsMemo(String sMemo) {
		this.sMemo = sMemo;
	}

	/**
	 * 取 创建人
	 * @return String
	 */
	public String getsCreator() {
		return sCreator;
	}

	/**
	 * 设置创建人
	 * @param sCreator
	 */
	public void setsCreator(String sCreator) {
		this.sCreator = sCreator;
	}

	/**
	 * 取 创建日期
	 * @return Date
	 */
	public Date getdCreateDate() {
		return dCreateDate;
	}

	/**
	 * 设置创建日期
	 * @param dCreateDate
	 */
	public void setdCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	/**
	 * 取 修改人
	 * @return String
	 */
	public String getsModifieder() {
		return sModifieder;
	}

	/**
	 * 设置修改人
	 * @param sModifieder
	 */
	public void setsModifieder(String sModifieder) {
		this.sModifieder = sModifieder;
	}

	/**
	 * 取 修改日期
	 * @return Date
	 */
	public Date getdModifiedDate() {
		return dModifiedDate;
	}

	/**
	 * 设置修改日期
	 * @param dModifiedDate
	 */
	public void setdModifiedDate(Date dModifiedDate) {
		this.dModifiedDate = dModifiedDate;
	}

	/**
	 * 取 状态
	 * @return Integer
	 */
	public Integer getiState() {
		return iState;
	}

	/**
	 * 设置状态
	 * @param iState
	 */
	public void setiState(Integer iState) {
		this.iState = iState;
	}

	/**
	 * 取 序号
	 * @return Integer
	 */
	public Integer getiIndex() {
		return iIndex;
	}

	/**
	 * 设置序号
	 * @param iIndex
	 */
	public void setiIndex(Integer iIndex) {
		this.iIndex = iIndex;
	}

	/**
	 * 取 版本
	 * @return Integer
	 */
	public Integer getiVersion() {
		return iVersion;
	}

	/**
	 * 设置版本
	 * @param iVersion
	 */
	public void setiVersion(Integer iVersion) {
		this.iVersion = iVersion;
	}

}
